package com.itrip.dao;

import com.itrip.beans.domain.ItripUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItripUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ItripUser record);

    ItripUser selectByPrimaryKey(Long id);

    List<ItripUser> selectAll();

    int updateByPrimaryKey(ItripUser record);

    ItripUser selectByUserCode(@Param("userCode")String userCode);

    int addItrip(ItripUser itripUser);

    int updateActivated(String user);
}